package com.ludaxu.google;

import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.view.MenuItem;
import android.view.View;

public class DetailActivity extends BaseActivity {

	@Override
	protected void initView() {
		setContentView(R.layout.activity_detail);
	}

	@Override
	protected void initActionBar() {
		ActionBar actionBar = getSupportActionBar();
		actionBar.setDisplayHomeAsUpEnabled(true);
	}

	/**
	 * 处理菜单条目的点击事件
	 */
	// @Override
	// public boolean onOptionsItemSelected(MenuItem item) {
	// // Handle action bar item clicks here. The action bar will
	// // automatically handle clicks on the Home/Up button, so long
	// // as you specify a parent activity in AndroidManifest.xml.
	// int id = item.getItemId();
	// if (id == android.R.id.home) {
	// finish();
	// return true;
	// }
	// return super.onOptionsItemSelected(item);
	// }

}
